i am asking basic question.
What is the diff between gather statistics and compute statistics

if we use dbms_stats. GATHER_TABLE_STATS or gather_index_stats
if we use analyze table compute stats or index compute stats.
. What will be the difference.

which one is more usefull or it depends on any perticular situation.