Lungfish are types of freshwater fish in the subclass Dipnoi that first appeared in the early Devonian and are still around today.