Oh ok so if the transactions are dependent on each other, then confirmation would naturally take longer. Putting a higher transaction fee would incentivize the miners to process this transaction in the next block?
Yes. However transaction selection is not determined by the absolute value of the fee itself but rather the fee rate in BTC/kB. The higher fee rate you pay, the more likely your transaction will be included.
Just curious then, where are Bitcoins generated then if mining requires a transaction fee? Or does it also generate as well? Thanks for your responses guys!
Getting your transactions confirmed requires a transaction fee, mining itself does not. Miners generate Bitcoin through the coinbase transaction which is a special transaction in every block. The coinbase transaction creates an output which is typically the sum of the current block subsidy and the sum of the transaction fees paid by the transactions in the block. It essentially produces this out of thin air; there is no previous output it spends from.