Logrolling is when politicians agree to support each other's projects or bills in order to get things done. For example, if one lawmaker wants to pass a law about education and another wants to pass a law about healthcare, they might agree to vote for each other's proposals.
This is done because it helps them achieve their goals more easily, as they can combine support for different issues. It’s a way to build alliances and get more legislative work done, even if they don’t fully agree on every issue.