Comment by Marsymars
Presumably you get told you're gifted by the education system following some assessment.
Personally, I'd never even heard of the term "gifted" until I left home for university, it wasn't a thing that existed in the rural location where I grew up.