It is (mostly) used as an "oxidizer" in motors and engines, I understand that much. The oxygen "oxidizes" with other chemicals, while the nitrogen returns to the air.
But $\ce{N2O}$ also produces "euphoria" in human beings, works as a mild anesthetic, and causes people to laugh. Why does this happen?