lungs in birds and skin on frogs both perform the function of breathing & if two things perform the same function then those two things are similar
the function of skin on frogs is similar to the function of lungs in birds