Piezo speakers use a vibrating piezo element to produce sound. They are usually made of ceramic and are typically used in buzzers. Meanwhile, magnetic speakers use electromagnets that vibrate plastic membranes. They are used in smartphones and headsets.