Fungi is classified in their own kingdom because at first they were considered as plants because they grew out of soil and had rigid cell walls, but now they are separated because they are considered to be more closely related to animals than plants.