Which sentence is more formal?

The silkworm isn't technically a worm at all; despite its name, it's the larva, or early form, of the silk moth.
Despite its name, the silkworm is not technically a worm at all; rather, it is the larva, or early form, of the silk moth.

The second sentence is more formal.

Which one is that

The second sentence is more formal:

"Despite its name, the silkworm is not technically a worm at all; rather, it is the larva, or early form, of the silk moth."