SPA: A Comprehensive Introduction