A bird is perched on a tree branch.
A bird is perching in a tree.
A tree branch is obviously part of a tree, so a bird perched on one is perching in a tree.
A bird is perched on a tree branch means perching in a tree.
If the bird is perched on a tree branch, they are on a tree. Perching is a rephrasing of perched.