You asked:

what does prevent mean

The word 'prevent' has a couple of meanings: as a verb, 1. keep from happening or arising; make impossible; 2. stop (someone or something) from doing something or being in a certain state.