Peter is a three years old boy.
Peter is a three-year-old boy.
The boy which is three years old is Peter.