does anyone know what are the differences between Intrusion Detection and Intrusion Prevention

i have this question on my exam and i am not sure

i want to put on my own words tho