Let H be a non-empty subset of a group G. Then H is a subgroup of G if and only if
1) $a, b \in H$ implies that $ab \in H$, and
2) $a \in H$ implies $a^{−1} \in H$.
I have confusion in the second point as closure is already implied by (1). Then what difference is introduced by (2), by stating that the inverse also is in the set formed by the action table of group.
Consider $G=(\mathbb Z,+)$ and $H=\mathbb N$. It satisfies the first condition, but not the second.
The point is that, unless $G$ is finite, you cannot get inverses or identity by only using closure.
A nice exercise is to prove that for finite groups, the first condition is actually enough.