Crankshaft sensor

I have a chevy cavalier and the engine light came on. So I stopped to have it checked out and they said that my crankshaft sensor needs replaced. Where is the crankshaft sensor?