This is known as a sliding compound miter saw. They are primarily used for cutting wood trim and molding, but also can be used to cut metal, masonry, and plastics, provided the appropriate type of blade is used for the material being cut. Miter saws come in a variety of sizes.