stock buyback

有人科普一下为啥公司buyback stock吗?买这种股是不是股价会涨?Outstanding shares减少?Market cap会减少吗?公司每年给员工发的股票可以从这里来吗?