First, I know the algebraic group must be non-singular and the index of the identity component must be finite.
Now given a algebraic variety (especially for a algebraic curve or a algebraic surface whose picture is beautiful) with these conditions, how to judge whether we can give it a group structure and make it as a algebraic group?