Cockroaches breathe through spiracle which opens on both side of the body. The air taken in passes to tubular systems called tracheae which are connected to tissues throughout the body.
Frogs breathe through both nostrils and skin. When outside water, air is taken directly through nostrils into the lungs but when they are submerged in water, gases are taken by diffusion through skin into blood vessels.