If an individual legislator commits a crime, he can be arrested by the executive branch and tried by the judicial branch and sent to prison. That is one check. If the legislature passes a law the judiciary decides conflicts with the Constitution, the judiciary can overturn it. Sometimes the executive is lax in enforcing the laws of the legislature.