These are forms of the verb to be in the past. We use the verb to be in the past in about 3% of sentences in spoken English.
I was six years old. I saw a nice picture. The picture was in a book. It was a picture of a big snake.
Read the book The Little Prince and practise grammar for Level 2.