Suppose that $G$ is an additive abelian group and select a collection of subgroups $\{H_\alpha\}_{\alpha\in A}$.
Now consider the topology on $G$ generated by the family $$\mathcal F =\{H_\alpha+g\}_{\alpha\in A,g\in G}$$
In other words $\mathcal F$ is a subbasis for the topology. Why do we have that $G$ is a topological group with this topology?
It is necessary and sufficient to check that the neighbourhood system of the identity (so $(H_\alpha)_{\alpha \in A}$ obeys the following axioms :
$\forall H_\alpha \exists H_\beta , H_\gamma : H_\gamma + H_\beta \subset H_\alpha$
$\forall H_\alpha: \exists H_\beta: -H_\beta \subseteq H_\alpha$.
for continuity of $+$ and $-$. This is quite clear, as we can just take $H_\gamma = H_\beta = H_\alpha$ everywhere,as we have subgroups.
To get a valid topology: we need to check that
and this is clear as the $H_\alpha$ generate the base of intersections that we can use here.