Catalan is not a way of speaking Spanish, but a complete language on its own, with different grammar, sounds and words. Some people call Catalan a dialect in a pejorative way (it is well known that Spanish and Catalan communities don't always like each other much, unfortunately…).