Please remember that two or more components are said to be in parallel if the same voltage appears across them. Similarly, two or more components are said to be in series if the same current flows through them. So, your question is essentially understanding the two terms - series and parallel connections.