Let's look at the two comparative sentences. When we compare the degrees of two things and people, we use comparative forms.

1. Emily is younger than Bob.
2. Bob is shorter than Emily.

(Will you check all the sentences above? Correct errors, please. What is the part of speech of 'than'?)

They are both correct.

"Than" is a conjunction.

Both sentences are correct grammatically. The word "than" is a conjunction in both sentences. It is used to introduce the second element in a comparison.