Explore the different types of relationships in programming, including dependency and inheritance.