How do you use heir in a sentence?

Prince Charles is heir to the throne of Great Britain.