Is it essential to or essential for?

Answer:
It would depend on the context:

"Sunlight is essential for photosynthesis", but "It is essential to remove your hat when addressing a lady".

Can't explain, it just feels right.
Note: There are comments associated with this question. See the discussion page to add to the conversation.
Contributor: Emdrgreg
First answer by Random information. Last edit by Random information. Contributor trust: 1 [recommend contributor recommended]. Question popularity: 4 [recommend question].