They both are required to apply and enforce the laws.
The differences between the two are in the jurisdictions. The jurisdiction on federal court is not as elaborate as state courts.
6.5m questions
8.7m answers