Hey there! I'm happy to help!
The legislative branch is the principal law making body of the United States. A local version of this branch is like a city council. The judicial branch is the principal court of the United States, so a local version of that would be something like a city or county court. They are both part of two different systems. The legislative branch will be making regulations and laws while the judicial branch will be seeing if laws are constitutional and if what someone is doing is justified under the law. These are very different things, but they are tied together by the Constitution of the United States. The legislative branch creates laws that are constitutional to the best of their ability and the judicial branch interprets these laws and applies them to current cases.
Have a wonderful day! Keep on learning :D