The basic rule is that cats and dogs weighing up to six kilograms may ride in the aircraft cabin inside a suitable container. However, many airlines exclude certain kinds of animals such as birds or rodents; these have to be transported in the plane's cargo hold.
Please note that the dimensions of the travel container may not exceed certain limits, which can vary depending on the airline.