how to make 3D sphere

I would like to make 3D sphere, not using library function.
And then I want to apply texture map to 3D sphere.
Finally, I want to move 3D sphere applied to texture mapping.

I want to know how to decide vertex coordinates fot making 3D sphere and how to apply texture coordinates into vertex coordinates.

Please help me.

I wish your prompt reply.