Yes, they are very similar, but there are differences. This is a quote from the BBC website:
"Both of these words can mean 'in a lower position than', so there's a sense in which they mean the same thing. But we use them sometimes in different circumstances, for example, if you're talking about something being covered by something, we use 'under'. So, 'I hid the key under a rock'. Or, 'o