In a breadboard such as yours, each horizontal row (of 5 holes) are connected together. So, row 1, a-e are connected together, and f-j are connected together. Same for row 2, and all the remaining rows.
So, when placing components, you have to connect the leads to different rows, or across...