In the uk how is it ok to drink at home when you are 16-17, when you can't do this alone or in pubic?

before i turned 16 i was told that someone who is aged between 16-17 can drink when an adult is around them at home and when they go to pubs they suddenly can't?? how is this a thing
5 answers 5