Relational query languages allow manipulation and retrieval of data from a database. Relational algebra is the mathematical query language that forms the basis for SQL and implementation. It defines basic operations like selection, projection, join, and set operations that can be composed to express queries. Relational algebra represents queries procedurally and is useful for representing execution plans internally.