Which heavenly bodies are involved in causing the earths tides?

only the moon and earth.
only the earth.
the earth, moon, and sun.
all the planets plus the moon.