On the structure of extremal graphs with respect to some important parameters