1. a small creature, that has six legs

2. a small creature that has six legs
------------------------
The above is the definition for 'insect.' Do we have to use comma or not? Which one is correct?

#2.

read up on restrictive qualifiers. They don't use the comma.