When 'where, when and why' are used to link clauses, they are classed as relative adverbs.
E.g., This is the house where I was born.
It was beautiful early spring when we met.
I don't really know why I said that.
» TEFL Glossary