hi! you'll have to specify which culture you're referring to in order to get a straight answer; meanwhile, you can get started on previous related discussions
Why do we use prince as a word for the son of a king but also kind of synonymous with king?
Why do English-language sources use the word “prince” when referring to a German fürst?