Relational query languages enable data manipulation and retrieval from databases, grounded in formal logic to optimize queries. They primarily consist of relational algebra and relational calculus, with algebra focusing on operational tasks and calculus allowing users to declare their desired outcome. Essential operations in relational algebra include selection, projection, and set operations, all yielding result relations that can be further processed.