Let where X is some locally compact Hausdorff space and let be open.

Show that is an essential ideal in A if and only if O is dense in X

It is easy to see that I is an ideal in A

My plan involved choosing a specific such that so which implies that I is essential. However, this does not show me anything about O.