For anyone wondering: a lot of "rock" and "sand" is silica AKA silicon dioxide.
When it comes to oxygen we also have water which contains oxygen.