Metal door and window frames have several advantages over wood frames, including being stronger and able to withstand earthquakes, easy to install without the need for a carpenter, and not susceptible to termites or insects. They also do not twist or tilt over time, can be customized into any shape with minimal waste, and have a long lifespan with resale value. However, metal frames can rust and are heavier than wood.