How share price works

What is the process behind the functioning of share prices?