What is a pre-shared key in TLS/SSL and why does master key is not used instead of session key? i have understood  the SSL handshake flow .The confusion are -


What is the pre-shared key here ? Is it the pre-master key or it is the random number that is generated by server and client.?

2.I get it that the session key is used to maintain the session but how does it      so that in TLS/SSL 
how master key is different than session key
What is the pre-shared key here ? Is it the pre-master key or it is the random number that is generated by server and client.?

Neither. In SSL/TLS 'Pre-Shared Key' (PSK) is a specific type of key-exchange different from the common RSA or DHE/ECDHE key-exchanges, and practically never used on the public net. (There are similar, but not identical, PSK options in some other protocols like IPsec.)
The premaster secret is not called a key and not used as a key, although it has some key-like properties. It is secret, and it is shared, but it is shared during the handshake and not before, so it is not pre-shared. The premaster secret and the two 'random' values are used to derive the master secret, and the master secret with the 'random' values again is used to derive the working or session keys and IVs, plural, see next.

get it that the session key is used to maintain the session but how does it so that in TLS/SSL
how master key is different than session key

There is not one session key; there are at least two and usually four or six if you count the IVs (or nonces) handled as keys. See What is the purpose of four different secrets shared by client and server in SSL/TLS? and rfc5246 (or previous versions) sections 8.1 6.3 and 5