He was Ralph Kramden's best friend and neighbor, and the show often played on their contrasting personalities - Ralph's loud and impulsive nature compared to Ed's more cautious and thoughtful approach.
While Ed's job isn't explicitly stated as being a sewer worker, he often complained about the unsavory aspects of his work, which implied a job involving waste disposal or similar.