The job of the senate is very closely related to the job of the Congress. They both work together, and mostly make laws, or make amendments to the existing laws.
The job of the Senate is closely related to the House of Representatives, the congress can not pass a law unless both of them agree on the law.